package com.hznu.jspFinal.dao;

import com.hznu.jspFinal.entity.ShortAnswer;

import java.util.List;

public interface ShortAnswerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShortAnswer record);

    int insertSelective(ShortAnswer record);

    ShortAnswer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShortAnswer record);

    int updateByPrimaryKey(ShortAnswer record);

    ShortAnswer selectByExerinfoid(Integer exerinfoid);

    List<ShortAnswer> selectByKeyword(String keyword);
}